package com.wang.home.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wang
 * @since 2021-04-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_student")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键自增非空
     */
    @TableId(value = "student_id", type = IdType.AUTO)
    private Integer studentId;

    /**
     * 学生姓名
     */
    private String studentName;

    /**
     * 密码
     */
    private String password;

    /**
     * 性别  0男  1女
     */
    private String salt;

    /**
     * 院系
     */
    private String sex;

    private String type;

    private String idcardName;

    private String message;

    /**
     * 逻辑删除
     */
    @TableLogic
    private Integer deleted;


}
